﻿#ifndef EQPTINFO_H
#define EQPTINFO_H

#include <QObject>
#include <QDomDocument>
#include <QFile>
#include <QTextStream>
#include <QDebug>
#include <QTextCodec>
class eqptinfo
{
public:
    eqptinfo();

    QString operhread();
    bool operhwrite(QString operh);
    QString operThreRead();

    QString durahread();
    bool durahwrite(QString durah);
    QString duraThreRead();

    QString timesread();
    bool timeswrite(QString times);
    QString timesThreRead();

    QString sampelsumread();
    bool sampelsumwrite(QString sampelsum);
    QString sampleSumThreRead();

    void xmlread();
    bool swlifewrite(QString swlife);
    bool swtimeswrite(QString swtimes);
    QStringList xmldata;
    QString calculateDurationread();
    QString passwordRead();

    QString serverIpRead();
    QString serverPortRead();
};

#endif // EQPTINFO_H
